# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=corestats
pkgver=3.0.1
pkgrel=0
pkgdesc="A system resource viewer from the CoreApps family."
arch="all"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtsvg"
makedepends="qt5-qtbase-dev libcprime-dev libcsys-dev lm-sensors-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/corestats/-/archive/v$pkgver/corestats-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}
sha512sums="fb2e5de5685f2826a6ef9338b55f30f10eff1dc8ead11e86ddf0af7136218e63e09bec073129f29aa7ecbe044de47aea361b5f3c1661c88029333d541aae4274  corestats-3.0.1.tar.gz"
